home *** CD-ROM | disk | FTP | other *** search
- /*
- File: AOCEDataItem.h
-
- Copyright: © 1991-1994 by Apple Computer, Inc.
- All rights reserved.
-
- Part of the AOCE Sample SMSAM Package. Consult the license
- which came with this software for your specific legal rights.
-
- */
-
-
-
- #ifndef __AOCEDATAITEM__
- #define __AOCEDATAITEM 1
-
- #ifndef __BLJSTANDARDINCLUDES__
- #include "BLJStandardIncludes.h"
- #endif
-
- #ifndef __DATAITEM__
- #include "DataItem.h"
- #endif
-
- /***********************************|****************************************/
-
- const DescType typePackedRecordID = 'pRID';
- const DescType typeAuthKey = 'athK';
-
- /***********************************|****************************************/
-
- class CAOCEDataItem : public CDataItem {
- public: CAOCEDataItem ();
- CAOCEDataItem ( unsigned long length, DescType dataType = typeWildCard );
- CAOCEDataItem ( const void* source, unsigned long length, DescType dataType = typeWildCard );
- CAOCEDataItem ( const ADataItem& );
- CAOCEDataItem ( const RecordID& recordID );
- CAOCEDataItem ( const AuthKey& key );
-
- virtual ~CAOCEDataItem ();
-
- virtual CAOCEDataItem& operator = ( const RecordID& recordID );
- virtual CAOCEDataItem& operator = ( const AuthKey& key );
- };
-
- #endif // __AOCEDATAITEM__